/**
 * 
 */
package net.oauth.transport.http.util;

/**
 * @author Buhake Sindi
 * @since 15 February 2012
 *
 */
public interface HttpConstants {
	
	//Status code
	public static final int HTTP_OK 			= 200;
	public static final int HTTP_SC_SEE_OTHER 	= 303;
	

	//HTTP Methods
	public static final String METHOD_DELETE = "DELETE";
	public static final String METHOD_GET = "GET";
	public static final String METHOD_HEAD = "HEAD";
	public static final String METHOD_POST = "POST";
	public static final String METHOD_PUT = "PUT";
	public static final String METHOD_TRACE = "TRACE";
	
	//Authorization headers
	public static final String HEADER_AUTHORIZATION = "Authorization";
	public static final String HEADER_PROXY_AUTHENTICATE = "Proxy-Authenticate";
	public static final String HEADER_WWW_AUTHENTICATE = "WWW-Authenticate";
	
	public static final String HEADER_CONTENT_TYPE = "Content-Type";
	public static final String HEADER_CACHE_CONTROL = "Cache-Control";
	public static final String HEADER_HOST = "Host";
	public static final String HEADER_PRAGMA = "Pragma";
	
	public static final String HEADER_LOCATION = "Location";
	
	//For Authorization
	public static final String REALM = "realm";
	public static final String CHARSET_UTF8 ="UTF-8";
	public static final String CHARSET_ISO_8859_1 = "ISO-8859-1";
	public static final String DEFAULT_CHARSET = CHARSET_ISO_8859_1;
}
